{% import "TopxiaWebBundle::macro.html.twig" as web_macro %}
{% if students %}
<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">最新学员</h3>
	</div>
	<div class="panel-body">
		<ul class="user-grids">
		{% for  student in students %}
			{% set user = users[student.userId] %}
			<li>
				{{ web_macro.user_avatar(user) }}
				<p>{{ web_macro.user_link(user) }}</p>
			</li>
		{% endfor %}
		</ul>
	</div>
</div>
{% endif %}